package com.xyu.gulimall.ware.dao;

import com.xyu.gulimall.ware.entity.PurchaseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 * 采购信息
 *
 * @author wangyufei
 * @email 2070522113@qq.com
 * @date 2021-05-20 10:20:05
 */
@Mapper
public interface PurchaseDao extends BaseMapper<PurchaseEntity> {

    List<PurchaseEntity> received(List<PurchaseEntity> purchaseEntitys);

    int receivedStatus(List<PurchaseEntity> receives, Date date);
}
